Skip to content

Chore: Add Python 3.15 support - #531

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-530
Nov 5, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-530

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #530

Authored by an AI agent; human review required
Command Exit
uv lock --upgrade-package setuptools 0
uv lock --check 0
uv run --python 3.11 pytest -q -x 0
uv run --python 3.15 pytest -q -x 0
uv build 0
uvx pip-audit -r <uv export of lock> --no-deps --disable-pip 0
prek run --files pyproject.toml uv.lock 0
prek run --all-files 0
aislop ci --changes 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds; a maintainer must act on any finding that remains after that, and reviews every round before merge.


What changed

  • pyproject.toml: add the Programming Language :: Python :: 3.15 classifier.
  • uv.lock: bump setuptools from 83.0.0 to 84.2.1 with uv lock --upgrade-package setuptools. pip-audit reports GHSA-xmj3-9gf7-h52w (low, fixed in 84.1.0) against the old lock. No other locked package changed.

Why

Python 3.15.0 has shipped and actions/setup-python installs it. Python 3.10 support was already removed: requires-python is >=3.11, and the classifiers, ruff target-version (py311), mypy and basedpyright targets, and docs all start at 3.11, so this change touches nothing for 3.10.

Validation

Command Result
uv lock --check exit 0
uv run --python 3.11 pytest -q -x exit 0, coverage 76.46%
uv run --python 3.15 pytest -q -x (CPython 3.15.2) exit 0, coverage 76.42%
uv build exit 0 (sdist and wheel)
pip-audit on uv export of the lock exit 0, no known vulnerabilities
prek run --files pyproject.toml uv.lock exit 0
prek run --all-files exit 0, no files modified
aislop ci --changes exit 0, empty diagnostics

Notes for reviewers

  • CI will not run a 3.15 test leg yet: python-workflows takes its matrix from build-metadata-action, which still stops at 3.14 (tracked separately). The local 3.15 run above covers it for now.
  • The commit carries the issue's subject as written, and the PR title matches it.

Declare Python 3.15 in the package classifiers now that 3.15.0 has
shipped and actions/setup-python installs it. The test suite passes
on CPython 3.15.2.

Bump the locked setuptools from 83.0.0 to 84.2.1, as pip-audit
reports GHSA-xmj3-9gf7-h52w against the current lock (fixed in
84.1.0). No other locked package changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team November 5, 2026 16:39
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Nov 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the Python 3.15 classifier addition and setuptools dependency update.

No open issues 🎉

What changed in this PR

Declares Python 3.15 support for github2gerrit and updates the locked setuptools dependency, matching the scope of issue #530.

Changes:

  • Adds the Python 3.15 package classifier.
  • Upgrades setuptools from 83.0.0 to 84.2.1 without changing other locked packages.

Python 3.15 validation is reported locally; CI matrix support remains tracked separately.

File Description
uv.lock Updates setuptools to 84.2.1 and refreshes its artifact metadata.
pyproject.toml Adds the Python 3.15 support classifier.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit b9d68f3 into lfreleng-actions:main Nov 5, 2026
32 of 33 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-530 branch November 5, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Code chores (dependency updates, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore: Add Python 3.15 support

2 participants